<?php
namespace app\crud\validate;

use think\Validate;

class Crud extends Validate {

    protected $rule = [
        'module_name' => 'require',
        'model_name' => 'require',
        'description' => 'require'
    ];

    protected $message = [
        'module_name.require' => '模块名称不能为空',
        'model_name.require' => '模型名称不能为空',
        'description.require' => '描述信息不能为空'
    ];
}